package cn.tedu.system.review.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class ReviewSelectVO {
    @ApiModelProperty(value = "订单id", required = true)
    private Long orderId;
    @ApiModelProperty(value = "商品id", required = true)
    private Long productId;
    @ApiModelProperty(value = "用户id", required = true)
    private Long userId;
    @ApiModelProperty(value = "商家id", required = true)
    private Long merchantId;
    @ApiModelProperty(value = "评分", required = true)
    private int rating;
    @ApiModelProperty(value = "评论内容", required = true)
    private String content;
    @ApiModelProperty(value = "图片地址", required = true)
    private String images;
    @ApiModelProperty(value = "是否匿名", required = true)
    private int isAnonymous;
    @ApiModelProperty(value = "回复内容", required = true)
    private String reply;
    @ApiModelProperty(value = "回复时间", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:dd",timezone = "GMT+8")
    private Date replyTime;
    @ApiModelProperty(value = "创建时间", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:dd",timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty(value = "更新时间", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:dd",timezone = "GMT+8")
    private Date updateTime;
}

